package com.yyw.gulimall.ware.feign;

import com.yyw.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 易煜玮
 * @ClassName ProductFeign.java
 * @Description 商品服务Feign
 * @createTime 2020年11月19日 21:46:00
 */
@FeignClient(name = "gulimall-product")
public interface ProductFeign {

    @RequestMapping("/product/skuinfo/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
